-
-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adjusted various function signatures to return Array
#3340
Conversation
🦋 Changeset detectedLatest commit: 0c2735d The changes in this PR will be included in the next version bump. This PR includes changesets to release 30 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Good news @fubhy, your snapshot has been published! You can review the build log here. Commit: e885cd6 Packages:@effect/cli: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/cli@e885cd6 @effect/cluster: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/cluster@e885cd6 @effect/cluster-browser: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/cluster-browser@e885cd6 @effect/cluster-node: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/cluster-node@e885cd6 @effect/cluster-workflow: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/cluster-workflow@e885cd6 effect: pnpm add https://pkg.pr.new/Effect-TS/effect@e885cd6 @effect/experimental: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/experimental@e885cd6 @effect/opentelemetry: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/opentelemetry@e885cd6 @effect/platform: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/platform@e885cd6 @effect/platform-browser: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/platform-browser@e885cd6 @effect/platform-bun: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/platform-bun@e885cd6 @effect/platform-node: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/platform-node@e885cd6 @effect/platform-node-shared: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/platform-node-shared@e885cd6 @effect/printer: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/printer@e885cd6 @effect/printer-ansi: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/printer-ansi@e885cd6 @effect/rpc: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/rpc@e885cd6 @effect/rpc-http: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/rpc-http@e885cd6 @effect/schema: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/schema@e885cd6 @effect/sql: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/sql@e885cd6 @effect/sql-d1: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/sql-d1@e885cd6 @effect/sql-drizzle: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/sql-drizzle@e885cd6 @effect/sql-mssql: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/sql-mssql@e885cd6 @effect/sql-mysql2: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/sql-mysql2@e885cd6 @effect/sql-pg: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/sql-pg@e885cd6 @effect/sql-sqlite-bun: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/sql-sqlite-bun@e885cd6 @effect/sql-sqlite-node: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/sql-sqlite-node@e885cd6 @effect/sql-sqlite-react-native: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/sql-sqlite-react-native@e885cd6 @effect/sql-sqlite-wasm: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/sql-sqlite-wasm@e885cd6 @effect/typeclass: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/typeclass@e885cd6 @effect/vitest: pnpm add https://pkg.pr.new/Effect-TS/effect/@effect/vitest@e885cd6 |
import { Effect } from "effect"
const res = Effect.forEach([0, 1, 2], (n) => Effect.succeed(n))
// Effect.Effect<number[], never, never> Seems like it does |
Ah yeah. I was confused by the |
Effect.forEach
should probably also returnArray<A>
instead.